#include <iostream>
int main()
{
	std::cout<<"Enter two number"<<std::endl;
	int val1,val2;
	std::cin>>val1>>val2;
	int lower,upper;
	if(val1>=val2)
	{
		lower=val2;
		upper=val1;
	}
	else
	{
		lower=val1;
		upper=val2;
	}
	int j=0;
	for(int i=lower;i<=upper;i++)
	{
		std::cout<<i<<" ";
		j++;
		if (j%10==0)
		{
			std::cout<<std::endl;
		}
	}
	return 0;
}